package com.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.dto.MaterialRequestDTO;
import com.project.dto.MaterialRequestPageDTO;
import com.project.entity.MaterialRequests;
import com.project.vo.Approvals_DetailVO;
import com.project.vo.MaterialRequestPageVO;
import com.project.vo.MaterialRequestVO;

public interface MeterialRequestsService extends IService<MaterialRequests> {
    MaterialRequestVO getByRequestId(Integer id);
    Long getPendingCount();

    MaterialRequestPageVO listPage(MaterialRequestPageDTO materialRequestPageDTO);

    Approvals_DetailVO getByApprovalsId(Integer approvalId);

    void createRequest(MaterialRequestDTO materialRequestDTO);
}
